export function createOrUpdateProject(model: Data): Promise<boolean> {
  if (model.id) {
    return http.post<boolean>('/api/sys/Project/update', model, { appKey: 'sys' })
  } else {
    return http.post<boolean>('/api/sys/Project/create', model, { appKey: 'sys' })
  }
}
